import pyautogui as pa
import time
pa.PAUSE = 0.02
pa.FAILSAFE = True
pa.moveTo(x=100,y=1700,duration=0.4)
pa.click()
time.sleep(3)
pa.moveTo(x=600,y=80,duration=0.25)
pa.click()
pa.typewrite("http://baidu.com\n",interval=0.2)
time.sleep(5)
pa.typewrite("pyautogui\n",interval=0.2)
pa.moveRel(xOffset=-20,yOffset=125,duration=0.25)
time.sleep(2)
pa.scroll(-16)
time.sleep(1)
pa.click()
time.sleep(5)
pa.moveTo(x=1630,y=130,duration=0.4)
pa.click()
pa.moveRel(xOffset=100,yOffset=0,duration=0.1)
pa.click()